package com.mxpio.erp.common.plm.service;

import com.mxpio.erp.common.plm.entity.ProjectProblem;
import com.mxpio.erp.common.plm.entity.ProjectProblemSort;
import com.mxpioframework.common.vo.Result;
import com.mxpioframework.system.service.BaseService;

/**
 * 项目问题分类Service接口
 * @author mxpio
 * @version 2024-2-26
 */
public interface ProjectProblemSortService extends BaseService<ProjectProblemSort> {

    /**
     * 对项目问题分类表信息进行更新
     * @param problemSort
     */
    Result<?> updateProblem(ProjectProblemSort problemSort);

    /**
     * 删除
     * @param projectProblemSortClass
     * @param key
     */
    void deleteALL(Class<ProjectProblemSort> projectProblemSortClass, String key);

    /**
     * 添加
     * @param problemSort
     */
    Result<?> add(ProjectProblemSort problemSort);
}
